package com.misty.admin.service;

import com.misty.common.bean.Result;
import com.misty.dao.domain.Comment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cthulhu
 * @since 2022-11-21
 */
public interface CommentService extends IService<Comment> {

    Result<?> saveComment(Comment comment);

    Result<?> updateComment(Comment comment);

    Result<?> deleteComment(Integer commentId);

    Result<?> Page(Integer pageNum, Integer pageSize, String search
    );

    Result<Map> statistics();
}
